<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>两栏布局，右固定</title>
    <style>
        *{
            padding: 0;
            margin: 0;
        }
        body {
            font-size: 18px;
            min-width: 600px;
        }

        .container {
            width: 100%;
            overflow: hidden;
        }

        .left {
            width: 100%;
            float: left;
            text-align: center;
            background-color: #f00;

            height: 200px;
        }

        .right {
            width: 150px;
            height: 200px;
            float: left;
            background-color: #0ff;
            margin-left: -150px;
        }
    </style>
</head>
<body>
<div class="container">
    <div class="left">左侧自适应</div>
    <div class="right">右侧固定</div>
</div>
</body>
</html>